package com.hpe.repository;

import com.hpe.model.User;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by tiansha on 2015/11/12.
 */
public interface UserRepository extends CrudRepository<User, Long> {

    User findByUsername(String username);

}
